package com.ycz.controller;

import com.ycz.MyAutoWired;
import com.ycz.service.UserService;

/**
 * @Author:ycz
 * @date:2021/6/5
 */
public class UserController {

    @MyAutoWired
    private UserService userService;

    public UserService getUserService() {
        System.out.println("this is getUserService");
        return userService;
    }

    public void setUserService(UserService userService) {
        this.userService = userService;
    }
}
